package ru.gerunn.test.thread;

public class Main {

	public static void main(String[] args) {
		
		MyQueue<String> queue = new MyQueue<String>();

		Thread t1 = new Thread(new T1(queue));
		Thread t2 = new Thread(new T2(queue));
		Thread t3 = new Thread(new T3(queue));
		t1.start();
		t2.start();
		t3.start();

		Thread t = new Thread(new MyQueueDumper<String>(queue));
		t.start();

	}

}
